<?php
require(APPPATH.'libraries/REST_Controller.php');

class Test extends REST_Controller {

	public function __construct() {
        parent::__construct();
        $this->load->model('bancoModel');
        $this->load->helper('url');
        $this->load->database('default');
    }

	public function prueba_get () {
		$resultado = $this->bancoModel->obtenerBancos();


    	//$arr = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5);    
    	//$this->response($arr);
    	//echo ();
    	//$data = array('returned: '. $this->get('id'));
    	//$data->name = "asdasdjkas";
        $this->response($resultado, 200);
	}
}
